package com.petecapra.cashflow.model;

import com.petecapra.cashflow.model.dao.CashflowManager;

@SuppressWarnings("rawtypes")
public abstract class BaseDomainObject<M extends CashflowManager> {
	
	public abstract M getManager();		
	
	@SuppressWarnings("unchecked")
	public void save() {
		getManager().save(this);
	}

}
